/* Assets Page Styles */
.assets-content {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.assets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.assets-header h1 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.upload-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2a2a2a;
  border: 1px solid #444;
  color: #e5eaf3;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-btn:hover {
  background: #3a3a3a;
  border-color: #667eea;
}

.btn-icon {
  font-size: 16px;
}

.assets-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.assets-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.assets-tab {
  background: #2a2a2a;
  border: 1px solid #444;
  color: #9aa5b1;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.assets-tab:hover {
  background: #3a3a3a;
  color: #e5eaf3;
}

.assets-tab.active {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: #ffffff;
  border-color: transparent;
}

.assets-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.asset-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 15px;
  transition: all 0.3s ease;
}

.asset-item:hover {
  border-color: #667eea;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.asset-thumbnail {
  position: relative;
  width: 60px;
  height: 60px;
  background: #2a2a2a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.thumbnail-icon {
  font-size: 24px;
  opacity: 0.8;
}

.asset-type,
.asset-category {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #667eea;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.asset-info {
  flex: 1;
  min-width: 0;
}

.asset-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.asset-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #9aa5b1;
}

.asset-size,
.asset-date,
.asset-downloads {
  font-size: 12px;
}

.asset-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.action-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:not(.secondary) {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: #ffffff;
}

.action-btn.secondary {
  background: #2a2a2a;
  color: #e5eaf3;
  border: 1px solid #444;
}

.action-btn:hover {
  /* transform: translateY(-1px); */
}

.action-btn:not(.secondary):hover {
  /* box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); */
}

.action-btn.secondary:hover {
  background: #3a3a3a;
  border-color: #667eea;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .assets-content {
    padding: 15px;
  }
  
  .assets-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .assets-header h1 {
    font-size: 24px;
  }
  
  .assets-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .assets-tab {
    font-size: 12px;
    padding: 8px 16px;
  }
  
  .asset-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .asset-thumbnail {
    width: 50px;
    height: 50px;
  }
  
  .thumbnail-icon {
    font-size: 20px;
  }
  
  .asset-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
